Skip to content

Fix descriptions of the limit GET/POST parameter#271

Merged
gaurav merged 1 commit into
mainfrom
fix-limit-text
May 16, 2026
Merged

Fix descriptions of the limit GET/POST parameter#271
gaurav merged 1 commit into
mainfrom
fix-limit-text

Conversation

@gaurav
Copy link
Copy Markdown
Collaborator

@gaurav gaurav commented May 16, 2026

Closes #269

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the description of the limit parameter in the API documentation and code, which previously mistakenly duplicated the offset parameter's description ("number of results to skip"). Now correctly describes limit as "the number of results to return".

Changes:

  • Update limit description in api/server.py for lookup_curies_get, lookup_curies_post, and NameResQuery model.
  • Update limit description in documentation/API.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
api/server.py Corrects the limit parameter description in three locations.
documentation/API.md Corrects the limit parameter description in API docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gaurav gaurav merged commit bd26427 into main May 16, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in NameRes sprints May 16, 2026
@gaurav gaurav deleted the fix-limit-text branch May 16, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Offset and Limit have the same definition.

2 participants